package com.spring.event.spring.event;

import org.springframework.context.ApplicationEvent;

public class SuccessEvent extends ApplicationEvent {

    private Integer status;
    private String code;

    public SuccessEvent(Object source) {
        super(source);
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }
}
